package com.example.skillcinema.db.localdb.tables

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "collections")
data class CollectionEntity(
    @PrimaryKey(autoGenerate = true)
    @ColumnInfo(name = "collection_id")
    val collectionId: Int = 0,
    val name: String,
    @ColumnInfo(name = "collection_type")
    val type: CollectionType,
    @ColumnInfo(name = "is_system")
    val isSystem: Boolean = false
) {
    enum class CollectionType {
        FAVORITES, WATCHLIST, WATCHED, CUSTOM
    }
}